﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<HEAD>
	<TITLE>用户登录</TITLE>
	<c:set var="ctx" value="${pageContext.request.contextPath}" />
	<link type="text/css" rel="StyleSheet" href="${ctx}/static/style/userlogin.css" />
	
</HEAD>
	<BODY id=userlogin_body>
		<p align="center">
	      <c:if test="${param.error == 'true'}">
	      	<font color='red'><b>登录失败，用户名或密码错误</b></font>
	      </c:if>
      </p>
		<form  method="post" id="loginForm" action="${ctx}/j_spring_security_check">
		<DIV id=user_login>
			<DL>
				  <DD id=user_top>
					  	<UL>
						    <LI class=user_top_l></LI>
						    <LI class=user_top_c></LI>
						    <LI class=user_top_r></LI>
					   	</UL>
						<DD id=user_main>
							<UL>
							    <LI class=user_main_l></LI>
							    <LI class=user_main_c>
							    <DIV class=user_main_box>
				    		<UL>
				      <LI class=user_main_text>用户名： </LI>
				      <LI class=user_main_input><INPUT class=TxtUserNameCssClass id="j_username" 
				      	maxLength=20 name="j_username"> </LI></UL>
				    <UL>
				      <LI class=user_main_text>密 码： </LI>
				      <LI class=user_main_input><INPUT class=TxtPasswordCssClass id="j_password" 
				      type=password name="j_password"> </LI></UL>
				    </DIV></LI>
				    <LI class=user_main_r><INPUT class=IbtnEnterCssClass id=IbtnEnter 
				    style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
				    type=image src="${ctx}/static/images/user_botton.gif" name=IbtnEnter onclick="javascript:document.forms[0].submit();"> </LI></UL>
				  <DD id=user_bottom>
				  	<UL>
					    <LI class=user_bottom_l></LI>
					    <LI class=user_bottom_c> </LI>
					    <LI class=user_bottom_r></LI>
					</UL>
				  </DD>
			  </DL>
		  </DIV>
	  <SPAN id=ValrUserName  style="DISPLAY: none; COLOR: red"></SPAN>
	  <SPAN id=ValrPassword  style="DISPLAY: none; COLOR: red"></SPAN>
	  <SPAN id=ValrValidateCode style="DISPLAY: none; COLOR: red"></SPAN>
	<DIV id=ValidationSummary1 style="DISPLAY: none; COLOR: red"></DIV>
	
	</form>
	</BODY>
</HTML>
